//键盘快捷键翻页
function ToPage(event){
	event = event ? event : (window.event ? window.event : null);
	if (event.keyCode==37) location=prevpage
	if (event.keyCode==39) location=nextpage
}

;( function( $ ){
  $.preload = function(){
    var tmp = [], i = arguments.length;
    // reverse loop run faster
    for( ; i-- ; ) tmp.push( $( '<img />' ).attr( 'src', arguments[ i ]));
  };
})( jQuery );